﻿using System.Web.Http;

namespace Yks.Notify.Client
{
    public static class WebApiConfig
    {
        public static void Register(HttpConfiguration config)
        {
            config.MapHttpAttributeRoutes();
            config.Routes.MapHttpRoute(
                "API Default", "api/{controller}/{id}",
                new {controller = "Home", id = RouteParameter.Optional});
        }
    }
}